
#include <stdio.h>

int main(int argc, char **argv, char **envp)
{
	int i;

	printf("Command Line:\n");
	printf("-------------------------\n");
	for (i = 0; i < argc; i++) {
		printf("%s ", argv[i]);
	}
	printf("\n\n");

	printf("Env Variants:\n");
	printf("-------------------------\n");
	while (*envp != NULL) {
		printf("%s\n", *envp);
		envp++;
	}

	printf("\n");
	printf("Show $PATH:\n");
	printf("-------------------------\n");
	printf("PATH=%s\n", getenv("PATH"));

	return 0;
}

